module Traffic_Lights (
    input      Green,
    input      Yellow,
    input      Red,
    input      EN,
    output reg LED_Out
);
  wire [2:0] All_LED;
  assign All_LED = {Green, Yellow, Red};
  always @(All_LED, EN) begin
    if (EN == 1) begin
      case (All_LED)
        3'b001: LED_Out <= 1'b1;
        3'b010: LED_Out <= 1'b1;
        3'b100: LED_Out <= 1'b1;
        default LED_Out <= 1'b0;
      endcase
    end else begin
      LED_Out <= 1'b0;
    end
  end
endmodule
